import {
	IDECtrlControllerParams,
	IMDCtrlAbility,
	MDCtrlActionType,
} from '../..';

/**
 * 多数据部件控制器输入参数接口
 *
 * @export
 * @interface IMDCtrlControllerParams
 * @extends {(IDECtrlControllerParams<T | MDCtrlActionType, A>)}
 * @template T
 * @template A
 */
export interface IMDCtrlControllerParams<T, A extends IMDCtrlAbility>
	extends IDECtrlControllerParams<T | MDCtrlActionType, A> {
	/**
	 * 是否单选
	 *
	 * @type {boolean}
	 * @memberof IMDCtrlControllerParams
	 */
	singleSelect?: boolean;

	/**
	 * 是否默认选中第一项
	 *
	 * @type {boolean}
	 * @memberof IMDCtrlControllerParams
	 */
	selectFirstDefault?: boolean;
}
